Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

调整JVM参数适应高版本 JDK,移除内存优化参数,部分JDK不适用,移除 DOLPHINSCHEDULER_LOG_DIR copy #213

Merged
merged 1 commit into from
Mar 14, 2023

Conversation

zhzhenqin
Copy link
Collaborator

优化启动脚本

  1. 调整JVM参数适应高版本 JDK,移除内存优化参数,部分JDK不适用;
  2. 移除 DOLPHINSCHEDULER_LOG_DIR copy 内容;
  3. 对获取 DDH HOME 提供更准确的脚本;

经过测试,兼容修改前的脚本,无其他不兼容影响。

调整后,对使用 DDH_HOME 使用绝对路径,而不是之前的相对 bin .. 的路径:

ps -ef |grep DDH
root      3319     1 99 01:28 pts/0    00:00:15 /usr/local/jdk1.8.0_333/bin/java -Dlogging.config=classpath:logback-api.xml -Dspring.profiles.active=api -Xms1g -Xmx1g -Xmn512m -server -javaagent:/opt/datasophon/datasophon-manager-1.1.0/jmx/jmx_prometheus_javaagent-0.16.1.jar=8586:/opt/datasophon/datasophon-manager-1.1.0/jmx/jmx_exporter_config.yaml -classpath /opt/datasophon/datasophon-manager-1.1.0/conf:/opt/datasophon/datasophon-manager-1.1.0/lib/* com.datasophon.api.DDHApplicationServer

@datasophon datasophon merged commit b310389 into datavane:dev Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants